import {
  request
} from '../_utils/request';

function getMyFocusList() {
  return request('/api/focus/mine', 'GET')
}

function focus(teacherId) {
  return request('/api/focus/add/' + teacherId, 'GET')
}

function cancel(teacherId) {
  return request('/api/focus/cancel/' + teacherId, 'DELETE')
}

module.exports = {
  getMyFocusList,
  focus,
  cancel
};